package com.wzy.webuserdemo.dao;

import com.wzy.webuserdemo.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    public User getUserByName(@Param("name") String name);

    List<User> queryUserList();

    int addUser(User user);

    User getById(Long id);

    int updateUser(User user);

    int deleteUser(Long id);
}
